Step 2: Receive the New Certificates from the CA

You will receive the following files from the Certificate Authority (CA):

Your (device) certificate – rename this file to "device.crt"
Root certificate – rename this file to "root.crt"
Intermediate CA certificates (if such files exist) – rename these files to "ca1.crt", "ca2.crt" etc.

Save the signed certificate to a file (e.g., device.crt). Make sure that all certificates are in PEM format and appear as follows:

Copy
-----BEGIN CERTIFICATE-----
MIIBuTCCASKgAwIBAgIFAKKlMbgwDQYJKoZIhvcNAQEFBQAwFzEVMBMGA1UEAxMM
RU1TIFJPT1QgQ0EyMB4XDTE1MDUwMzA4NTE0MFoXDTI1MDUwMzA4NTE0MFowKjET
...
Tl6vqn5I27Oq/24KbY9q6EK2Yc3K2EAadL2IF1jnb+yvREuewprOz6TEEuxNJol0
L6V8lzUYOfHrEiq/6g==
-----END CERTIFICATE-----
The above files are required in the following steps. Make sure that you obtain these files before proceeding and save them to the desired location.
Use the exact filenames as mentioned above.